package priv.work2;


import java.util.List;
import java.util.Set;

import org.springframework.beans.factory.annotation.Autowired;

public class Restaurant {
	@Autowired
	private Menu menu;
	@Autowired
	private List<DiningTable> diningTable;
	@Autowired
	private Set<Waiter> warter;
	public Menu getMenu() {
		return menu;
	}
	public void setMenu(Menu menu) {
		this.menu = menu;
	}
	public List<DiningTable> getDiningTable() {
		return diningTable;
	}
	public void setDiningTable(List<DiningTable> diningTable) {
		this.diningTable = diningTable;
	}
	
	public Set<Waiter> getWarter() {
		return warter;
	}
	public void setWarter(Set<Waiter> warter) {
		this.warter = warter;
	}
	@Override
	public String toString() {
		return "Restaurant [menu=" + menu + "\n 	diningTable=" + diningTable + "\n 	warter=" + warter + "]";
	}
	
	
}
